package com.sea.design.service;


import com.sea.design.entity.Design;
import com.sea.finance.entity.Inventory;

import java.text.ParseException;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface DesignService {

    /**
     * 查询指定
     * @param design
     * @return
     */
    List<Design> findByCnd(Design design);

    /**
     * 新增
     * @param design
     * @return
     */
    Integer save(Design design);
    /**
     * 查询指定
     * @param id
     * @return
     */
    Design findById(Integer id);
    /**
     * 更新
     * @param design
     * @return
     */
    Integer usave(Design design);
    /**
     * 删除
     * @param id
     * @return
     */
    Integer delete(Integer id);
}
